import { Component, OnInit } from "@angular/core";
import { Test } from "../service/test.service";
@Component({
  selector: "my-carousel",
  templateUrl: "app/template/carousel.html"
})

export class CarouselComponent implements OnInit{
    ngOnInit() {
    }
  constructor(
      // private test: Test
  ){}
 myShow(){
          // this.test.testFun();
 }
  pics = [
      {url:"image/c1.jpg", text:"pic1"},
      {url:"image/c2.jpg", text:"pic2"},
      {url:"image/c3.jpg", text:"pic3"},
      {url:"image/c4.jpg", text:"pic4"},
      {url:"image/c5.jpg", text:"pic5"}
      ];
}
